package com.dzm.except;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 作者：Dzm
 * 时间：2024-08-26-10:17
 * 功能：
 */

@Data
@NoArgsConstructor
public class NoPermissionException extends RuntimeException{
    private String message;
    private Integer code;

    public NoPermissionException(String message) {
        super(message);
        this.message = message;
    }

}
